package com.xie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@TableName("paitient")
@ApiModel(description = "病人")
public class Paitient {
    @TableId(value = "paitient_id",type = IdType.AUTO)
    @ApiModelProperty(value = "病人id")
    private Integer paitientId;
    @TableField("paitient_name")
    @ApiModelProperty(value = "病人姓名")
    private String paitientName;
    @TableField("paitient_gender")
    @ApiModelProperty(value = "病人性别")
    private String paitientGender;
    @TableField("paitient_dateStart")
    @ApiModelProperty(value = "入院时间")
    private String paitientDateStart;
    @TableField("paitient_dept")
    @ApiModelProperty(value = "病人所属科室")
    private String paitientDept;
    @ApiModelProperty(value = "病人状况")
    @TableField("paitient_state")
    private String paitientState;
    @TableField("paitient_doc")
    @ApiModelProperty(value = "病人主治医生")
    private String paitientDoc;
    @TableField("paitient_room")
    @ApiModelProperty(value = "病人房间号")
    private String paitientRoom;
    @TableField("paitient_bed")
    @ApiModelProperty(value = "病人病床号")
    private String paitientBed;
    @TableField("status")
    @ApiModelProperty(value = "是否注册就诊卡")
    private Integer status;

    public Paitient() {
    }

    public Paitient(Integer paitientId, String paitientName, String paitientGender, String paitientDateStart, String paitientDept, String paitientState, String paitientDoc, String paitientRoom, String paitientBed,Integer status) {
        this.paitientId = paitientId;
        this.paitientName = paitientName;
        this.paitientGender = paitientGender;
        this.paitientDateStart = paitientDateStart;
        this.paitientDept = paitientDept;
        this.paitientState = paitientState;
        this.paitientDoc = paitientDoc;
        this.paitientRoom = paitientRoom;
        this.paitientBed = paitientBed;
        this.status=status;
    }

    public Paitient(Integer paitientId, String paitientName, String paitientGender, String paitientDateStart, String paitientDept, String paitientState, String paitientDoc, String paitientRoom, String paitientBed, Personnel personnel,Integer status) {
        this.paitientId = paitientId;
        this.paitientName = paitientName;
        this.paitientGender = paitientGender;
        this.paitientDateStart = paitientDateStart;
        this.paitientDept = paitientDept;
        this.paitientState = paitientState;
        this.paitientDoc = paitientDoc;
        this.paitientRoom = paitientRoom;
        this.paitientBed = paitientBed;
        this.status=status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPaitientId() {
        return paitientId;
    }

    public void setPaitientId(Integer paitientId) {
        this.paitientId = paitientId;
    }

    public String getPaitientName() {
        return paitientName;
    }

    public void setPaitientName(String paitientName) {
        this.paitientName = paitientName;
    }

    public String getPaitientGender() {
        return paitientGender;
    }

    public void setPaitientGender(String paitientGender) {
        this.paitientGender = paitientGender;
    }

    public String getPaitientDateStart() {
        return paitientDateStart;
    }

    public void setPaitientDateStart(String paitientDateStart) {
        this.paitientDateStart = paitientDateStart;
    }

    public String getPaitientDept() {
        return paitientDept;
    }

    public void setPaitientDept(String paitientDept) {
        this.paitientDept = paitientDept;
    }

    public String getPaitientState() {
        return paitientState;
    }

    public void setPaitientState(String paitientState) {
        this.paitientState = paitientState;
    }

    public String getPaitientDoc() {
        return paitientDoc;
    }

    public void setPaitientDoc(String paitientDoc) {
        this.paitientDoc = paitientDoc;
    }

    public String getPaitientRoom() {
        return paitientRoom;
    }

    public void setPaitientRoom(String paitientRoom) {
        this.paitientRoom = paitientRoom;
    }

    public String getPaitientBed() {
        return paitientBed;
    }

    public void setPaitientBed(String paitientBed) {
        this.paitientBed = paitientBed;
    }


    @Override
    public String toString() {
        return "Paitient{" +
                "paitientId=" + paitientId +
                ", paitientName='" + paitientName + '\'' +
                ", paitientGender='" + paitientGender + '\'' +
                ", paitientDateStart='" + paitientDateStart + '\'' +
                ", paitientDept='" + paitientDept + '\'' +
                ", paitientState='" + paitientState + '\'' +
                ", paitientDoc='" + paitientDoc + '\'' +
                ", paitientRoom='" + paitientRoom + '\'' +
                ", paitientBed='" + paitientBed + '\'' +
                ", status=" + status +
                '}';
    }
}
